package com.cqd.rp_goods.mapper;

import com.cqd.rp_goods.dto.RpDto;
import com.cqd.rp_goods.entity.DbRp;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mht
 * @since 2020-03-16
 */
public interface DbRpMapper extends BaseMapper<DbRp> {

    List<DbRp> selectRpList(RpDto rpDto);
    List<DbRp> selectGoodsList(RpDto rpDto);

    List<DbRp> selectById(Integer id);

    void addGoods(@RequestParam("id") int id);

    void del(Integer id);

}
